import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class QuestionsService {

  constructor() { }


  questions= [
    {
      type: 1,
      qs:
        "1. 配备单速四驱系统的国产指南者，其驱动地形选择开关不包含（   ）（单选题）",
      completed: false,
      tip: "",
      tipIsShow: false,
      currentAnswerNum: 0,
      currentChoice: [],
      answerRight: "C",
      options: [
        {
          text: "A.自动模式",
          isRight: 0,
          isDisabled: false,
          isSelected: false
        },
        {
          text: "B.雪地模式",
          isRight: 0,
          isDisabled: false,
          isSelected: false
        },
        {
          text: "C.上坡起步模式",
          isRight: 1,
          isDisabled: false,
          isSelected: false
        },
        {
          text: "D.砂石/泥地模式",
          isRight: 0,
          isDisabled: false,
          isSelected: false
        }
      ]
    },
    {
      type: 2,
      qs: "10. 对于单速四驱系统，以下哪些说法是正确的（   ）（多选题）",
      completed: false,
      tip: "",
      tipIsShow: false,
      currentAnswerNum: 0,
      answerRight: "C,D",
      currentChoice: [],
      options: [
        {
          text: "A.当模式选择开关处于沙地/泥地模式时， 车辆只能以四驱模式行驶",
          isRight: 0,
          isDisabled: false,
          isSelected: false
        },
        {
          text: "B.当地形选择开关处于雪地模式时，车辆只能以二驱模式行驶",
          isRight: 0,
          isDisabled: false,
          isSelected: false
        },
        {
          text:
            "C.当地形选择开关处于自动模式时，车辆以两驱为主，只有车辆打滑时，才会进入四驱模式",
          isRight: 1,
          isDisabled: false,
          isSelected: false
        },
        {
          text:
            "D.无论地形选择开关处于哪种模式，车辆都会根据路况，确定车辆以哪种驱动模式行驶",
          isRight: 1,
          isDisabled: false,
          isSelected: false
        }
      ]
    }
  ]
}
